#include("../../common/_container.html")
#define content()
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="menuInfoForm">

            <input type="hidden" id="ismenuValue" value="$menu.ismenu">
            <div class="row">
                <div class="col-sm-6 b-r">
                    #JplusInput(id='name',name='名称',underline=true)
                    #JplusInput(id='code',name='菜单编号',underline=true)
                    #JplusInput(id='pidName',name='父级编号',hidden='pid',readonly='readonly',hiddenValue=menu.pid,onclick='MenuInfoDlg.showMenuSelectTree(); return false;',style='background-color= #ffffff !important;',selectFlag=true,selectId='pcodeTreeDiv',selectTreeId='pcodeTree',selectStyle='width=244px !important;',underline=true)

                    #--<#input id="pcodeName" name="父级编号" value="$menu.pcodeName" underline="true"
                            hidden="pcode" readonly="readonly" hiddenValue="$menu.pcode"
                            clickFun="MenuInfoDlg.showMenuSelectTree(); return false;"
                            style="background-color= #ffffff !important;"
                            selectFlag="true" selectId="pcodeTreeDiv" selectTreeId="pcodeTree" selectStyle="width=244px !important;"/>
                    --#
                    #JplusSelect(id='ismenu',name='是否是菜单')
                        <option value="1">是</option>
                        <option value="0">不是</option>
                    #end
                </div>
                <div class="col-sm-6">
                    #JplusInput(id='url',name='请求地址',underline=true)
                    #JplusInput(id='num',name='排序',underline=true)
                    #JplusInput(id='icon',name='图标',underline=true)
                    #JplusSelect(id='status',name='是否是启用')
                    <option value="1">启用</option>
                    <option value="0">停用</option>
                    #end
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    #JplusButton(id='ensure',name='提交',onclick='MenuInfoDlg.addSubmit()',icon='fa-check',spaceCss=false)
                    #JplusButton(id='cancel',name='取消',onclick='MenuInfoDlg.close()',icon='fa-eraser')
                </div>
            </div>
        </div>

    </div>
</div>
<script src="#(CPATH)/static/module/admin/menu/menu_info.js"></script>
#end
